import java.util.Scanner;

public class Job02 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String[] DC01 = {"壹","貮","叁","肆","伍","陆"};
        for (String DC02:DC01){
            System.out.print("输入一个单词:");
            DC02 = input.next();
            for (int i = 0; i < DC01.length; i++) {
                if (DC01[i].equals(DC02)){
                    System.out.println("YES");
                    break;
                }else {
                    System.out.println("NO");
                    break;
                }
            }
            break;
        }
    }
}
